﻿Public Class FmMain

    Private Sub ThôngTinNhómToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ThôngTinNhómToolStripMenuItem.Click
        MsgBox("--------Nhóm thực hiện--------" & vbNewLine _
                & "Trường Đại Học Lạc Hồng" & vbNewLine _
                & "Khoa Công Nghệ Thông Tin" & vbNewLine _
                & "Lớp 09CT3" & vbNewLine _
                & "GVHD : Ths NGUYỄN ĐÌNH LIÊN " & vbNewLine _
                & " Họ Tên                          " & vbNewLine _
                & "1.Trần Thế Thìn         " & vbNewLine _
                & "2.Trần Khắc Mạnh     " & vbNewLine _
                & "3.Vũ Thành Sơn         ")
    End Sub

    Private Sub ThoátToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ThoátToolStripMenuItem.Click
        Me.Close()
    End Sub

    Private Sub Fm_Main_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        If MsgBox("Bạn có muốn thoát không?", MsgBoxStyle.Information + MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
            e.Cancel = False
        Else
            e.Cancel = True
        End If
    End Sub

    Private Sub Fm_Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub HàngHóaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HàngHóaToolStripMenuItem.Click
        FmCapNhatHangHoa.Show()

    End Sub

    Private Sub KháchHàngToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles KháchHàngToolStripMenuItem.Click
        FmCapNhatKhachHang.Show()

    End Sub

    Private Sub NhàCungCấpToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NhàCungCấpToolStripMenuItem.Click
        FmCapNhatNhaCC.Show()

    End Sub

    Private Sub HóaDOToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HóaDOToolStripMenuItem.Click
        FmHD.Show()

    End Sub

    Private Sub NhậpToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NhậpToolStripMenuItem.Click
        FmPhieuNhap.Show()

    End Sub

    Private Sub TìmPhiếuNhậpToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TìmPhiếuNhậpToolStripMenuItem.Click
        FmTimPhieuNhap.Show()

    End Sub

    Private Sub TìmHDToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TìmHDToolStripMenuItem.Click
        FmTimHoaDon.Show()

    End Sub
End Class
